<template>
    <view class="warehouse-in-detail">
       <view class="warehouse-in-detail-list font-26">
            <view class="item">
                <text class="label">品名</text>
                <text>{{ warehouseInData.detail.spzs }}</text>
            </view>
            <view class="item">
                <text class="label">纱支</text>
                <text>{{ warehouseInData.detail.wpggA }}</text>
            </view>
            <view class="item">
                <text class="label">品牌</text>
                <text>{{ warehouseInData.detail.spcd }}</text>
            </view>
            <view class="item">
                <text class="label">单重</text>
                <text>{{ warehouseInData.detail.spjsl }}KG</text>
            </view>
            <!-- <view class="item">
                <text class="label">支重</text>
                <text>{{ warehouseInData.detail.spzs }}</text>
            </view> -->
           <view class="item">
                <text class="label">件数</text>
                <text>{{ warehouseInData.detail.spjs }}</text>
            </view>
            <view class="item">
                <text class="label">重量</text>
                <text>{{ warehouseInData.detail.spsl }}吨</text>
            </view>
            <view class="item">
                <text class="label">批次</text>
                <text>{{ warehouseInData.detail.spbh }}</text>
            </view>
            <view class="item">
                <text class="label">柜号</text>
                <text>{{ warehouseInData.detail.spgh }}</text>
            </view>
            <view class="item">
                <text class="label">用途</text>
                <text>{{ warehouseInData.detail.wpggD }}</text>
            </view>
            <view class="item">
                <text class="label">产地</text>
                <text>{{ warehouseInData.detail.wpggE }}</text>
            </view>
            <view class="item">
                <text class="label">工艺</text>
                <text>{{ warehouseInData.detail.wpggB }}</text>
            </view>
            <view class="item">
                <text class="label">工序</text>
                <text>{{ warehouseInData.detail.wpggC }}</text>
            </view>
            <view class="item">
                <text class="label">漂染性</text>
                <text>{{ warehouseInData.detail.wpggF }}</text>
            </view>
            <view class="item">
                <text class="label">颜色</text>
                <text>{{ warehouseInData.detail.wpggH }}</text>
            </view>
            <view class="item">
                <text class="label">备注</text>
                <text>{{ warehouseInData.detail.spbz }}</text>
            </view>
        </view>
    </view>
</template>
<script setup lang="ts">
	import { onLoad } from '@dcloudio/uni-app'
	import { reactive } from 'vue'

    let warehouseInData:any = reactive({
		detail:{}
	})
	onLoad((options:any) => {
		warehouseInData.detail = options
	})

</script>
<style lang="scss" scoped>
    .warehouse-in-detail {
        background-color: #F3F4F7;
        &-list {
            padding:28rpx 32rpx;
            background-color:#fff;
            border-radius: 10rpx;
            margin:36rpx;
            .item {
                margin-bottom:22rpx;
                .label {
                    color:#999;
                    width:160rpx;
                    display:inline-block;
                }
            }
        }
    }
  </style>